<?php

require_once('load-settings.inc.php');

if (isset($_REQUEST['dir'])) {
	require_once($SETTINGS['LIBRARY_PATH'] . 'dir.inc.php');
} else {
	require_once($SETTINGS['LIBRARY_PATH'] . 'blog.inc.php');

	$blog = new Blog($SETTINGS);
	$blog->load();
	$blog->display();
}

